package cn.anxingongyou.anxin.service;

import cn.anxingongyou.anxin.entity.CommentWorker;
import com.github.pagehelper.PageInfo;

public interface CommentWorkerService {
    int insert(CommentWorker commentWorker);
    int deleteByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(CommentWorker commentWorker);
    CommentWorker  selectOne(CommentWorker commentWorker);
    CommentWorker  selectOneByPrimaryKey(Long id);
    PageInfo<CommentWorker> page(int pageNum, int pageSize , CommentWorker commentWorker);
    PageInfo<CommentWorker> search(int pageNum, int pageSize , CommentWorker commentWorker);
    String getToken();
    boolean msgSecCheck(String token,String Content);
}
